﻿using System;
namespace Pay.DTO.rpayBh {
	/// <summary>
	/// 商户进件请求
	/// </summary>
	public class merchant_req : rpayBh_req_base {
		public merchant_req() {
			pay_type = "10901";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 省份
		/// </summary>
		public string province { get; set; }
		/// <summary>
		/// 城市
		/// </summary>
		public string city { get; set; }
		/// <summary>
		/// 地区
		/// </summary>
		public string area { get; set; }
		/// <summary>
		/// 收款编码:全国省市地 区码列表-收款宝专 用
		/// </summary>
		public string recev_code { get; set; }
		/// <summary>
		/// 商户详细地址
		/// </summary>
		public string address { get; set; }
		/// <summary>
		/// 法人名称
		/// </summary>
		public string legal_name { get; set; }
		/// <summary>
		/// 联系电话
		/// </summary>
		public string phone { get; set; }
		/// <summary>
		/// 身份证号
		/// </summary>
		public string idcard { get; set; }
		/// <summary>
		/// 银行卡号
		/// </summary>
		public string bankno { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string bankname { get; set; }
		/// <summary>
		/// 支行名称
		/// </summary>
		public string bankbranch { get; set; }
		/// <summary>
		/// 联行号
		/// </summary>
		public string bankcode { get; set; }
		/// <summary>
		/// 费率：T0 费率‰:比如千分 4.5 填写 4.5
		/// </summary>
		public string feerate { get; set; }
		/// <summary>
		/// 单笔代付:比如 1 元填写 100
		/// </summary>
		public string witdraw_fee { get; set; }
		/// <summary>
		/// 商户进件完成 通知地址
		/// </summary>
		public string notice_url { get; set; }
	}

	/// <summary>
	/// 进件响应
	/// </summary>
	public class merchant_resp : rpayBh_resp_base {
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
	}
	/// <summary>
	/// 进件查询响应结果
	/// </summary>
	public class rpayBh_fee_query_result : rpayBh_resp_base { 
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 0正常 1黑名单 2预进件 3进件审核 4进件费率处理中
		/// </summary>
		/// <value>The mch status.</value>
		public string mch_status { get; set; }
		/// <summary>
		/// 0完成 1费率 2 T1费率 3代付费 4自助结算工作日额外 5非工作日额外
		/// </summary>
		/// <value>The steps oper.</value>
		public string steps_oper { get; set; }
		/// <summary>
		/// 身份证号码
		/// </summary>
		public string idcard { get; set; }
		/// <summary>
		/// 手机号
		/// </summary>
		public string phone { get; set; }
		/// <summary>
		/// 银行卡号
		/// </summary>
		public string bankno { get; set; }
		/// <summary>
		/// 费率
		/// </summary>
		public string feerate { get; set; }
		/// <summary>
		/// 代付费
		/// </summary>
		public string witdraw_fee { get; set; }
	}
	/// <summary>
	/// 进件状态及费率查询
	/// </summary>
	public class rpayBh_fee_query : rpayBh_req_base { 
		/// <summary>
		/// 请求类型
		/// </summary>
		public string pay_type { get { return "10908";} }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 身份证号码
		/// </summary>
		public string idcard { get; set; }
	}

	/// <summary>
	/// 商户进件修改请求
	/// </summary>
	public class merchant_edit : rpayBh_req_base {
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		public string pay_type { get { return "10902"; } }
	}
	/// <summary>
	/// 修改费率
	/// </summary>
	public class MF1 : merchant_edit {
		/// <summary>
		/// 费率
		/// </summary>
		public string feerate { get; set; }
		/// <summary>
		/// 修改操作字段
		/// </summary>
		public string merchant_oper_flag {
			get { return "MF1"; }
		}
	}
	/// <summary>
	/// 修改代付费
	/// </summary>
	public class MF3 : merchant_edit {
		/// <summary>
		/// 代付费
		/// </summary>
		/// <value>The witdraw fee.</value>
		public string witdraw_fee { get; set; }
		/// <summary>
		/// 修改操作字段
		/// </summary>
		public string merchant_oper_flag { get { return "MF3"; } }
	}
	/// <summary>
	/// 修改银行卡信息
	/// </summary>
	public class MB2 : merchant_edit {
		/// <summary>
		/// 银行卡号
		/// </summary>
		public string bankno { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string bankname { get; set; }
		/// <summary>
		/// 修改操作字段
		/// </summary>
		public string merchant_oper_flag { get { return "MB2"; }}
	}
	/// <summary>
	/// 修改预留手机号
	/// </summary>
	public class MB6 : merchant_edit {
		/// <summary>
		/// 收款编码
		/// </summary>
		public string phone { get; set; }
		/// <summary>
		/// 邮箱地址
		/// </summary>
		public string mailStr { get; set; }
		/// <summary>
		/// 修改操作字段
		/// </summary>
		public string merchant_oper_flag { get { return "MB6"; }}
	}
}
